package com.erp.mapper;

import com.erp.entity.MyMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.erp.entityVo.MenuALLVo;
import com.erp.entityVo.MenuIndexDto;
import com.erp.entityVo.MyMenuVo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author  CJ 
 * @since 2021-10-09
 */
public interface MyMenuMapper extends BaseMapper<MyMenu> {
    /*
    通过用户id返回菜单
     */
    List<MenuIndexDto> getMenu(Integer userId);
}
